package com.hmall.common.constants;

public interface MqConstants {
    String PAY_EXCHANGE_NAME = "pay.direct";
    String PAY_SUCCESS_KEY = "pay.success";
    String PAY_SUCCESS_QUEUE = "pay.success.queue";

    //下单功能  下单后清理购物车
    String TRADE_SUCCESS_QUEUE = "cart.clear.queue";  //队列名称
    String TRADE_EXCHANGE_NAME = "trade.topic";  //交换机名称
    String Routing_SUCCESS_KEY = "order.create";    //路由键

    String DELAY_EXCHANGE_NAME = "trade.delay.direct";  //交换机名称
    String DELAY_ORDER_QUEUE_NAME = "trade.delay.order.queue";  //队列名称
    String DELAY_ORDER_KEY = "delay.order.query";   //路由key
}